﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService
{
    public interface IEquipmentAllocateService
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="equipmentAllocate"></param>
        /// <returns></returns>
        bool AddEquipmentAllocate(EquipmentAllocate equipmentAllocate);
        /// <summary>
        /// 查询客户
        /// </summary>
        /// <param name="keyword"></param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <param name="totalCount"></param>
        /// <returns></returns>
        List<EquipmentAllocate> GetEquipmentAllocate(string? name, int pageIndex, int pageSize, out int totalCount);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="Customer"></param>
        /// <returns></returns>
        bool UpdEquipmentAllocate(EquipmentAllocate equipmentAllocate);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        bool DelEquipmentAllocate(long id);
        /// <summary>
        /// 根据主键获取对象
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        EquipmentAllocate? GetEquipmentAllocateById(long id);
    }
}
